package com.example.video.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author qiusuyang
 * @since 2024-04-13
 */
@TableName("outer_account")
@Data
public class OuterAccount implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 目标平台账户
     */
    private String userAccount;

    /**
     * 目标平台密码
     */
    private String userPwd;

    /**
     * 目标平台
     */
    private Integer platformId;

    /**
     * 源平台id
     */
    private Integer accountId;

    private String  platformName;

    /**
     * 对应语言
     * */
    private String language;

    /**
     * 对应翻译文本
     */
    private String title;

    @Override
    public String toString() {
        return "OuterAccount{" +
            "id = " + id +
            ", userAccount = " + userAccount +
            ", userPwd = " + userPwd +
            ", platform = " + platformId +
            ", accountId = " + accountId +
                ", platformName = " + platformName +
                ", language = " + language +
                ", title = " + title +
        "}";
    }
}
